package com.chf.job.dao;

import com.chf.job.pojo.Resume;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ResumeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Resume record);

    int insertSelective(Resume record);

    Resume selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Resume record);

    int updateByPrimaryKey(Resume record);

    Resume getUserBaseInfo(String email);

    int updateByEmail(@Param("email") String email, @Param("newResumeName") String newResumeName);

    int updateHeardImg(@Param("email") String email, @Param("path") String path);
}